<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
<title><?=$this->inktype->site_name . ' - ' . $this->inktype->site_description;?></title>
<link rel="stylesheet" type="text/css" href="<?=$this->css_dir;?>inf08/style.css" />
<link rel="stylesheet" type="text/css" href="<?=$this->css_dir;?>inf08/bubbles.css" />

<script src="<?=base_url();?>assets/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="<?=base_url();?>assets/jquery/plugins/form_validator/formValidator.js" type="text/javascript"></script>
<?$this->load->view('comment_validator.php');?>

</head>

<body>

<div id="container">

	<!-- ###  Header  ### -->
	
	<div id="header">	
	
		<h1><a href="#"><?=$this->inktype->site_name;?></a></h1>
		<p><?=$this->inktype->site_description;?></p>

		<!-- ### Top menu ### -->
		
		<div id="topmenu">
		<ul>
			<?if (!$this->uri->segment(2) OR $this->uri->segment(2) == 'blog' OR $this->uri->segment(2) == 'post' OR $this->uri->segment(2) == 'category') {?>
			
				<li><?=$this->inktype->anchor('blog', '<span>Blog</span>', array('class'=>'highlight'));?></li>
				
			<?} else {?>
			
				<li><?=$this->inktype->anchor('blog', '<span>Blog</span>');?></li>
			
			<?}?>
			
			<?foreach ($this->mdl_pages->get() as $page) {?>
			
				<?if ($this->uri->segment(3) == $page->url_title) {?>
				
					<li><?=$this->inktype->anchor('page/' . $page->url_title, '<span>' . $page->title . '</span>', array('class'=>'highlight'));?></li>
					
				<?} else {?>
				
					<li><?=$this->inktype->anchor('page/' . $page->url_title, '<span>' . $page->title . '</span>');?></li>
					
				<?}?>
			
			<?}?>
			
		</ul>	
		</div>

	</div>